package com.abstractfactory.good;

import com.abstractfactory.HtmlDocument;

import java.io.IOException;
import java.nio.file.Path;

public class GoodHtmlDocument implements HtmlDocument {
    @Override
    public String toHtml() {
        System.out.println("good  to html");
        return "goodtohtml";
    }

    @Override
    public void save(Path path) throws IOException {
        System.out.println("good save html");
    }
}
